﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>查看投票结果--{$GetSiteName}</title>
<link href="{$GetInstallDir}images/style.css" type=text/css rel=stylesheet>
{$GetMetaKeyWord}
{$GetMetaDescript}
<script src="{$GetInstallDir}ks_inc/jquery.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/common.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/flotr2.min.js" type="text/javascript"></script>
<!--[if IE 6]>
<script src="{$GetInstallDir}js/iepng.js" type="text/javascript"></script>
<script type="text/javascript">
   EvPNG.fix('div, ul, img, li, input'); 
</script>
<![endif]-->
</head>
<body> 
{LB_头部通用}
<div class="wrap">
   
    
<div class="navigation">您当前位置：<a href="{$GetSiteUrl}">{$GetSiteTitle}</a> >> 查看投票结果</div>


<!--投票start-->
<div class="votemain">
    <div class="title">{$VoteName}</div>
	<div class="votemainbox">
	   <form name="VoteForm" Action="?" method="get">
					 <input type="hidden" name="action" value="dovote"/>
					 <input type="hidden" name="id" value="{$VoteID}"/>
					 <input type="hidden" name="do" value="vote"/>
						  <table width="100%" align="center">
							   <tr> 
									<td width="30%" class="tit">投票选项</td>
									<td width="20%" class="tit">票数</td>
									<td align="50%" class="tit">百分比</td>
							   </tr>		  
						   [loop]
							  <tr>
								<td>
							   <label>{@ItemType}   {@ItemName}<label>
								</td>
								<td align="center"><font color="red">{@Num}</font> 票</td>
								<td>{@Percent}</td>
							  </tr>
						  [/loop]
						  </table>
					  <br/>
					  <div style="text-align:center"><a href='javascript:VoteForm.submit();'><img src='images/Default/voteSubmit.jpg' border='0'></a></div>
					  </form>
					
	</div>
</div>
<!--投票end-->


<div class="blank10 clear"></div>

<!--投票start-->
<div class="votemain">
    <div class="title">各选项得票走势情况</div>
	<div class="votemainbox">
	
	<div id="container" style="margin:0 auto;width:980px;height:400px"></div>
	
    <script type="text/javascript" src="flotr2.min.js"></script>
    <script type="text/javascript">
   (function basic_pie(container) {
  var graph;
  graph = Flotr.draw(container, [
    {$VoteItemXML}
  ],
   {
    HtmlText : true,
    grid : {
      verticalLines : false,
      horizontalLines : false
    },
    xaxis : { showLabels : false },
    yaxis : { showLabels : false },
    pie : {
      show : true, 
      explode : 6
    },
    mouse : { track : true },
    legend : {
      position : 'se',
      backgroundColor : '#D2E8FF'
    }
  });
})(document.getElementById("container"));
</script>
	
	</div>
</div>

</div>
<!--投票end-->

<div class="clear blank10"></div>
</div>
<!--版权信息-->
{LB_尾部通用}
<!--版权信息-->



</body>
</html>